//
//	SampleComment.swift
//	Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport

import Foundation

struct SampleComment : Codable {

	let id : String?
	let author : Author?
	let content : String?
	let created : String?


	enum CodingKeys: String, CodingKey {
		case id = "_id"
		case author
		case content = "content"
		case created = "created"
	}
	init(from decoder: Decoder) throws {
		let values = try decoder.container(keyedBy: CodingKeys.self)
		id = try values.decodeIfPresent(String.self, forKey: .id)
		author = try Author(from: decoder)
		content = try values.decodeIfPresent(String.self, forKey: .content)
		created = try values.decodeIfPresent(String.self, forKey: .created)
	}


}